import request from "@/utils/request";

// 获取最新版本号
export function getLatestVersion() {
    return request({
        url: "/emergencyShelter/getLatestVersion",
        method: "get",
    });
}

// 获取分页查询结果
export function getPage(query) {
    return request({
        url: "/emergencyShelter/getPage",
        method: "get",
        params:query
    });
}

// 根据id查询详情
export function findById(id) {
    return request({
        url: "/emergencyShelter/findById?id="+id,
        method: "get",
    });
}